<!DOCTYPE html>
<html ng-app=authapp>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title>江苏省师范类专业认证系统管理主页</title>
<meta name="keywords" content="江苏省师范类专业认证系统管理主页">
<meta name="description" content="江苏省教育评估院,师范类专业,认证系统,管理主页">

<link rel="stylesheet" href="../../plugin/bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="../../basic/style/base.css" />
<link rel="stylesheet" href="../../models/admin/css/home.css" />
<link rel="stylesheet" href="../../models/admin/css/auth_step.css" />
<link rel="stylesheet" href="../../models/admin/css/contactManager.css" />
<script src="../../plugin/angular/angular.min.js"></script>
<script src="../../plugin/bootstrap/ui-bootstrap-tpls.js"></script>
<script src="../../plugin/angular/angular-cookies.min.js"></script>
<script src="../../plugin/angular/ng-file-upload.min.js"></script>
<script src="../../models/admin/js/contactManager.js"></script>
<script src="../../basic/js/source.js"></script>
<script src="../../basic/javascript/funcs.js"></script>
<script src="../../basic/js/directive.js"></script>


</head>

<body>
	<div authheader></div>
	<div class="main-content" ng-controller="fcontroller">
		<div leftaside></div>
		<aside>
			<div class="top-bar">
				<span>联系人管理</span>
			</div>
			<section class="row" style="padding:0 25px; margin-top:10px;">
				<div ng-controller="contactCon">
				<div class="whole-cover" ng-hide="isAddM"></div>
					<div class="add-form" ng-hide="isAddM">
						<div>分管领导</div>	
						
						<div>
							<span>姓名：</span><input type="text" ng-model="name" placeholder="请输入姓名"/>
						</div>
						<div>
							<span>职务：</span>
							<select type="text" ng-model="type" placeholder="请输入职务">
								<option value="">选择职务</option>
								<option value="0">分管领导</option>
								<option value="1">教科院负责人</option>
								<option value="2">教务处负责人</option>
							</select>
						</div>
						<div>
							<span>办公：</span><input type="text" ng-model="telephone" placeholder="请输入办公"/>
						</div>
						<div>
							<span>手机：</span><input type="text" ng-model="mobilePhone" placeholder="请输入手机"/>
						</div>
						<div>
							<span>邮箱：</span><input type="text" ng-model="email" placeholder="请输入邮箱"/>
						</div>
						
						<div><div ng-hide="isclickBtn" ng-click="addFirstZ()">确认</div><div ng-show="isclickBtn" ng-click="update()">修改</div><div ng-click="cancelAddM()">取消</div></div>
					</div>
					<div class="top-check clearfix">
						<div class="add-apply fr" ng-click="addM()" align="right" style="display:none;">添加</div>
					</div>
					<div class="list-content">
						<div class="cooleList title">
							<div class="detail-part">
								<ul>	
									<li>姓名</li>
									<li>职务</li>
									<li>办公</li>
									<li>手机</li>
									<li>邮件</li>
									<li>机构名</li>	
									<li>专业</li>
								</ul>
							</div>
							<div class="detail-bot">操作</div>
							
						</div>
						<div ng-repeat="arraylist in list" class="cooleList">
							<div class="detail-part">
								<ul>
									<li ng-bind="arraylist.name?arraylist.name:'---'" title="{{arraylist.name}}">姓名</li>
									<li ng-bind="arraylist.type?arraylist.type:'---'" title="{{arraylist.type}}">职务</li>
									<li ng-bind="arraylist.telephone?arraylist.telephone:'---'" title="{{arraylist.telephone}}">办公</li>
									<li ng-bind="arraylist.mobilePhone?arraylist.mobilePhone:'---'" title="{{arraylist.mobilePhone}}">手机</li>
									<li ng-bind="arraylist.email?arraylist.email:'---'" title="{{arraylist.email}}">邮件</li>
									<li ng-bind="arraylist.schoolName?arraylist.schoolName:'---'" title="{{arraylist.schoolName}}">机构名</li>
									<li ng-bind="arraylist.major?arraylist.major:'---'" title="{{arraylist.major}}">专业</li>
								</ul>
							</div>
							<div class="detail-bot">
								<span class="action" style="color:#169BD5;cursor:pointer;" ng-click="queryAuthSchoolContacts(arraylist.pid)">修改</span>	
								<span class="action" style="color:#169BD5;cursor:pointer;" ng-click="deleteAuthSchoolContacts1(arraylist.pid,$index)">删除</span>
							</div>
						</div>
						<div ng-if="list.length > 0" style="padding: 10px">共{{totalCount}}条</div>
						<div class="cooleList" style="text-align: center;padding:10px" ng-if="list.length == 0">
							暂无相关数据
						</div>
					</div>
					<section ng-controller="pageDemo" class="col-md-7 pull-right" ng-show = "totalCount > pageSize">
						<pagination total-items="bigTotalItems" ng-model="currentPage" max-size="maxSize" class="pagination-sm" boundary-links="true" rotate="false" num-pages="numPages" items_per_page="itemsPerPage" callback="pageChanged()" previous-text="上一页" next-text="下一页" first-text="首页" last-text="尾页"></pagination>
					</section>
				</div>
		    </section>
			
		</aside>
	</div>
	<div authfooter></div>
</body>
</html>
